<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.38.2 -->
<interface>
  <requires lib="gtk+" version="3.10"/>
  <object class="GtkAdjustment" id="adjLED">
    <property name="upper">100</property>
    <property name="step-increment">1</property>
    <property name="page-increment">10</property>
  </object>
  <object class="GtkAdjustment" id="adjSensitivityX">
    <property name="lower">0.01</property>
    <property name="upper">10.01</property>
    <property name="value">1</property>
    <property name="step-increment">0.10</property>
    <property name="page-increment">1</property>
    <property name="page-size">0.01</property>
  </object>
  <object class="GtkAdjustment" id="adjSensitivityY">
    <property name="lower">0.01</property>
    <property name="upper">10.01</property>
    <property name="value">1</property>
    <property name="step-increment">0.10</property>
    <property name="page-increment">1</property>
    <property name="page-size">0.01</property>
  </object>
  <object class="GtkListStore" id="lstControllers">
    <columns>
      <!-- column-name path -->
      <column type="gchararray"/>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name icon -->
      <column type="GdkPixbuf"/>
    </columns>
  </object>
  <object class="GtkListStore" id="lstItems">
    <columns>
      <!-- column-name item -->
      <column type="GObject"/>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name profile -->
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkListStore" id="lstOSDColorPreset">
    <columns>
      <!-- column-name key -->
      <column type="gchararray"/>
      <!-- column-name text -->
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0">None</col>
        <col id="1" translatable="yes">None / Custom</col>
      </row>
      <row>
        <col id="0">Green.colors.json</col>
        <col id="1" translatable="yes">Green</col>
      </row>
      <row>
        <col id="0">Blue.colors.json</col>
        <col id="1" translatable="yes">Blue</col>
      </row>
      <row>
        <col id="0">Cyan.colors.json</col>
        <col id="1" translatable="yes">Cyan</col>
      </row>
      <row>
        <col id="0">Yellow.colors.json</col>
        <col id="1" translatable="yes">Yellow</col>
      </row>
      <row>
        <col id="0">Red.colors.json</col>
        <col id="1" translatable="yes">Red</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="lstOSDStyle">
    <columns>
      <!-- column-name key -->
      <column type="gchararray"/>
      <!-- column-name text -->
      <column type="gchararray"/>
    </columns>
    <data>
      <row>
        <col id="0">Classic.gtkstyle.css</col>
        <col id="1" translatable="yes">Classic</col>
      </row>
      <row>
        <col id="0">Reloaded.gtkstyle.css</col>
        <col id="1" translatable="yes">Reloaded</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="lstProfile">
    <columns>
      <!-- column-name name -->
      <column type="gchararray"/>
      <!-- column-name giofile -->
      <column type="GObject"/>
      <!-- column-name changed -->
      <column type="gchararray"/>
    </columns>
  </object>
  <object class="GtkListStore" id="lstStickAction">
    <columns>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name action -->
      <column type="gchararray"/>
      <!-- column-name is_custom -->
      <column type="gboolean"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">Move Keyboard</col>
        <col id="1">OSK.move()</col>
        <col id="2">False</col>
      </row>
      <row>
        <col id="0" translatable="yes">Emulate Arrows</col>
        <col id="1">dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT))</col>
        <col id="2">False</col>
      </row>
      <row>
        <col id="0" translatable="yes">Emulate Arrows, Move Keyboard when Left Grip is Pressed</col>
        <col id="1">mode(LGRIP, OSK.move(), dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT)))</col>
        <col id="2">False</col>
      </row>
      <row>
        <col id="0" translatable="yes">Emulate Arrows, Move Keyboard when Right Grip is Pressed</col>
        <col id="1">mode(RGRIP, OSK.move(), dpad(button(Keys.KEY_UP), button(Keys.KEY_DOWN), button(Keys.KEY_LEFT), button(Keys.KEY_RIGHT)))</col>
        <col id="2">False</col>
      </row>
    </data>
  </object>
  <object class="GtkListStore" id="lstTriggersAction">
    <columns>
      <!-- column-name label -->
      <column type="gchararray"/>
      <!-- column-name action -->
      <column type="gchararray"/>
      <!-- column-name is_custom -->
      <column type="gboolean"/>
    </columns>
    <data>
      <row>
        <col id="0" translatable="yes">Shift and Ctrl</col>
        <col id="1">trigger(50, button(Keys.KEY_LEFTSHIFT))|trigger(50, button(Keys.KEY_LEFTCTRL))</col>
        <col id="2">False</col>
      </row>
      <row>
        <col id="0" translatable="yes">Press Keyboard Buttons</col>
        <col id="1">OSK.press(LEFT)|OSK.press(RIGHT)</col>
        <col id="2">False</col>
      </row>
    </data>
  </object>
  <object class="GtkWindow" id="Dialog">
    <property name="width-request">650</property>
    <property name="can-focus">False</property>
    <property name="role">action-editor</property>
    <property name="resizable">False</property>
    <property name="window-position">center-on-parent</property>
    <property name="destroy-with-parent">True</property>
    <property name="type-hint">dialog</property>
    <signal name="destroy" handler="on_Dialog_destroy" swapped="no"/>
    <signal name="key-press-event" handler="on_window_key_press_event" swapped="no"/>
    <child>
      <object class="GtkBox" id="vbMain">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkRevealer" id="rvRestartWarning">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="hexpand">True</property>
            <child>
              <object class="GtkInfoBar" id="infoBarRestartWarning">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="message-type">warning</property>
                <child internal-child="action_area">
                  <object class="GtkButtonBox" id="bbRestartWarning">
                    <property name="can-focus">False</property>
                    <property name="spacing">6</property>
                    <property name="layout-style">end</property>
                    <child>
                      <placeholder/>
                    </child>
                    <child>
                      <placeholder/>
                    </child>
                    <child>
                      <object class="GtkButton" id="btRestartEmulation">
                        <property name="label" translatable="yes">Restart Emulation</property>
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <signal name="clicked" handler="on_btRestartEmulation_clicked" swapped="no"/>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">2</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">False</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child internal-child="content_area">
                  <object class="GtkBox" id="vbRestartWarning">
                    <property name="can-focus">False</property>
                    <property name="spacing">16</property>
                    <child>
                      <object class="GtkImage" id="imgRestartWarning">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="stock">gtk-dialog-warning</property>
                        <property name="icon_size">6</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="lblRestartWarning">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Emulation has to be restarted to apply all settings.
If you have any games running, restarting emulation will "unplug"
virtual gamepad, what may cause them to ignore future inputs
or even crash.</property>
                        <property name="wrap">True</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
                    <child>
                      <placeholder/>
                    </child>
                  </object>
                  <packing>
                    <property name="expand">False</property>
                    <property name="fill">False</property>
                    <property name="position">0</property>
                  </packing>
                </child>
                <child>
                  <placeholder/>
                </child>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkNotebook" id="notebook7">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <child>
              <!-- n-columns=6 n-rows=13 -->
              <object class="GtkGrid" id="grid3">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="margin-left">10</property>
                <property name="margin-right">10</property>
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <child>
                  <object class="GtkLabel" id="label8">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes">On-Screen Keyboard Bindings</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">6</property>
                    <property name="width">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label9">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Stick</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">7</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label10">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Triggers</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="butEditKeyboardBindings">
                    <property name="label" translatable="yes">Advanced...</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">50</property>
                    <property name="margin-right">50</property>
                    <property name="margin-top">15</property>
                    <property name="hexpand">True</property>
                    <signal name="clicked" handler="on_butEditKeyboardBindings_clicked" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">9</property>
                    <property name="width">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkComboBox" id="cbStickAction">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-right">20</property>
                    <property name="margin-top">5</property>
                    <property name="hexpand">True</property>
                    <property name="model">lstStickAction</property>
                    <signal name="changed" handler="on_cbStickAction_changed" swapped="no"/>
                    <child>
                      <object class="GtkCellRendererText" id="crt1"/>
                      <attributes>
                        <attribute name="text">0</attribute>
                      </attributes>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">7</property>
                    <property name="width">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkComboBox" id="cbTriggersAction">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-right">20</property>
                    <property name="margin-top">5</property>
                    <property name="hexpand">True</property>
                    <property name="model">lstTriggersAction</property>
                    <signal name="changed" handler="on_cbTriggersAction_changed" swapped="no"/>
                    <child>
                      <object class="GtkCellRendererText" id="crt2"/>
                      <attributes>
                        <attribute name="text">0</attribute>
                      </attributes>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">8</property>
                    <property name="width">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label4">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-top">20</property>
                    <property name="label" translatable="yes">Pad Sensitivity</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">10</property>
                    <property name="width">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label5">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Horizontal</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">11</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label6">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Vertical</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">12</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkScale" id="sclSensX">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="margin-top">5</property>
                    <property name="hexpand">True</property>
                    <property name="adjustment">adjSensitivityX</property>
                    <property name="round-digits">1</property>
                    <property name="value-pos">right</property>
                    <signal name="value-changed" handler="on_sens_value_changed" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">11</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkScale" id="sclSensY">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="margin-top">5</property>
                    <property name="hexpand">True</property>
                    <property name="adjustment">adjSensitivityY</property>
                    <property name="round-digits">1</property>
                    <property name="value-pos">right</property>
                    <signal name="value-changed" handler="on_sens_value_changed" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">12</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="btClearSensX">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">10</property>
                    <property name="margin-right">20</property>
                    <property name="margin-top">5</property>
                    <signal name="clicked" handler="on_btClearSensX_clicked" swapped="no"/>
                    <child>
                      <object class="GtkImage" id="image77">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="stock">gtk-clear</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">5</property>
                    <property name="top-attach">11</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkButton" id="btClearSensY">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">10</property>
                    <property name="margin-right">20</property>
                    <property name="margin-top">5</property>
                    <signal name="clicked" handler="on_btClearSensY_clicked" swapped="no"/>
                    <child>
                      <object class="GtkImage" id="image89">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="stock">gtk-clear</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">5</property>
                    <property name="top-attach">12</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label37">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Default Menu Items</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">0</property>
                    <property name="width">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_0">
                    <property name="name">cbMI_0</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label98">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">List of recent profiles</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">1</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_6">
                    <property name="name">cbMI_6</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">5</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label93">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Run Program...</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">1</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_1">
                    <property name="name">cbMI_1</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label99">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Autoswitch options</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">2</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_5">
                    <property name="name">cbMI_5</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">5</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label91">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Kill Current Window</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">2</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_2">
                    <property name="name">cbMI_2</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label97">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Window switcher</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">3</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_7">
                    <property name="name">cbMI_7</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">5</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label38">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Show Current Bindings</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">3</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_8">
                    <property name="name">cbMI_8</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label39">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Games List</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">4</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_4">
                    <property name="name">cbMI_4</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">5</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label95">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Turn Controller OFF</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">5</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_3">
                    <property name="name">cbMI_3</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label7">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Display Keyboard</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">5</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMI_9">
                    <property name="name">cbMI_9</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">5</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbMI_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label11">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Edit Current Bindings</property>
                        <property name="xalign">0</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">4</property>
                    <property name="width">3</property>
                  </packing>
                </child>
              </object>
            </child>
            <child type="tab">
              <object class="GtkLabel" id="label18">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Menus &amp; Keyboard</property>
              </object>
              <packing>
                <property name="tab-expand">True</property>
                <property name="tab-fill">False</property>
              </packing>
            </child>
            <child>
              <!-- n-columns=4 n-rows=11 -->
              <object class="GtkGrid" id="grid67">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="margin-left">10</property>
                <property name="margin-right">10</property>
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <child>
                  <object class="GtkColorButton" id="cbtext">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbmenuitem_border">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbbackground">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbborder">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblmenuseparator">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Separator Text</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblmenuitem_hilight_text">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Selected Text</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblmenuitem_hilight">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Selected Background</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblmenuitem_hilight_border">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Selected Border</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbmenuseparator">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbmenuitem_hilight_text">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbmenuitem_hilight">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbmenuitem_hilight_border">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label2985">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes">OSD Menu Colors</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">2</property>
                    <property name="width">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lbltext">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Text</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblmenuitem_border">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Item Border</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblbackground">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Background</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblborder">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Border</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label21">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-top">10</property>
                    <property name="label" translatable="yes">On-Screen Keyboard Colors</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">7</property>
                    <property name="width">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblosk_button1">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Normal Button</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbosk_button1">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblosk_pressed">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Pressed Button</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">9</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbosk_pressed">
                    <property name="name">20</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">9</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblosk_button2">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Special Button</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">10</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbosk_button2">
                    <property name="name">20</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">10</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">1</property>
                    <property name="top-attach">10</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblosk_text">
                    <property name="name">20</property>
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Text</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbosk_text">
                    <property name="name">20</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblosk_hilight">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="label" translatable="yes">Higlight</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">9</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkColorButton" id="cbosk_hilight">
                    <property name="name">20</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-bottom">5</property>
                    <property name="hexpand">True</property>
                    <signal name="color-set" handler="on_osd_color_set" swapped="no"/>
                  </object>
                  <packing>
                    <property name="left-attach">3</property>
                    <property name="top-attach">9</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label269">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes"> </property>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">10</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label2">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes">OSD Style</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">0</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkComboBox" id="cbOSDStyle">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">50</property>
                    <property name="margin-right">10</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">10</property>
                    <property name="hexpand">True</property>
                    <property name="model">lstOSDStyle</property>
                    <property name="active">0</property>
                    <signal name="changed" handler="on_cbOSDStyle_changed" swapped="no"/>
                    <child>
                      <object class="GtkCellRendererText" id="crt3"/>
                      <attributes>
                        <attribute name="text">1</attribute>
                      </attributes>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">1</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label119">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes">Color Preset</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">0</property>
                    <property name="width">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkComboBox" id="cbOSDColorPreset">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-right">50</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">10</property>
                    <property name="hexpand">True</property>
                    <property name="model">lstOSDColorPreset</property>
                    <property name="active">0</property>
                    <signal name="changed" handler="on_cbOSDColorPreset_changed" swapped="no"/>
                    <child>
                      <object class="GtkCellRendererText" id="crt4"/>
                      <attributes>
                        <attribute name="text">1</attribute>
                      </attributes>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">2</property>
                    <property name="top-attach">1</property>
                    <property name="width">2</property>
                  </packing>
                </child>
              </object>
              <packing>
                <property name="position">1</property>
              </packing>
            </child>
            <child type="tab">
              <object class="GtkLabel" id="label19">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">OSD Colors</property>
              </object>
              <packing>
                <property name="position">1</property>
                <property name="tab-expand">True</property>
                <property name="tab-fill">False</property>
              </packing>
            </child>
            <child>
              <!-- n-columns=3 n-rows=14 -->
              <object class="GtkGrid" id="grid68">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="margin-left">10</property>
                <property name="margin-right">10</property>
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <child>
                  <object class="GtkCheckButton" id="vbEnableDriverSteam">
                    <property name="visible">True</property>
                    <property name="sensitive">False</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="active">True</property>
                    <property name="draw-indicator">True</property>
                    <child>
                      <object class="GtkLabel" id="lblKuaa19">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Steam Controller support</property>
                        <property name="xalign">0</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">0</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableDriver_ds4drv">
                    <property name="name">ds4drv</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbEnableDriver_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="lblKuaa13">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Dualshock4 (PS4 controller) support</property>
                        <property name="xalign">0</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">1</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableDriver_ds5drv">
                    <property name="name">ds5drv</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbEnableDriver_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="lblKuaa3">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable DualSense (PS5 controller) support</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">3</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblKuaa4">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">30</property>
                    <property name="label" translatable="yes">If enabled, any connected DualSense controller will be automatically used by SC-Controller</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">4</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblKuaa15">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-top">20</property>
                    <property name="label" translatable="yes">Other registered controllers</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">10</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblKuaa14">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">30</property>
                    <property name="label" translatable="yes">If enabled, any connected Dualshock4 controller will be automatically used by SC-Controller</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">2</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblKuaa16">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="label" translatable="yes">Controller listed here are automatically used by SC-Controller whenever they are connected.</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">11</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="swControllers">
                    <property name="height-request">100</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="vexpand">True</property>
                    <property name="shadow-type">in</property>
                    <child>
                      <object class="GtkTreeView" id="tvControllers">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="model">lstControllers</property>
                        <property name="headers-visible">False</property>
                        <child internal-child="selection">
                          <object class="GtkTreeSelection" id="tsControllers"/>
                        </child>
                        <child>
                          <object class="GtkTreeViewColumn" id="tcDevice">
                            <property name="title" translatable="yes">column</property>
                            <child>
                              <object class="GtkCellRendererPixbuf" id="tcDeviceIcon"/>
                              <attributes>
                                <attribute name="pixbuf">2</attribute>
                              </attributes>
                            </child>
                            <child>
                              <object class="GtkCellRendererText" id="tcDeviceName"/>
                              <attributes>
                                <attribute name="markup">1</attribute>
                              </attributes>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">12</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableDriver_hiddrv">
                    <property name="name">hiddrv</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbEnableDriver_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="lblKuaa12">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable HID device support</property>
                        <property name="xalign">0</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">5</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableDriver_evdevdrv">
                    <property name="name">evdevdrv</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbEnableDriver_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="lblKuaa11">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable evdev support</property>
                        <property name="xalign">0</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">6</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkBox" id="vbButtons1">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">20</property>
                    <property name="margin-right">20</property>
                    <property name="margin-top">3</property>
                    <property name="hexpand">True</property>
                    <child>
                      <object class="GtkButton" id="btAddController">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="hexpand">False</property>
                        <property name="vexpand">False</property>
                        <signal name="clicked" handler="on_btAddController_clicked" swapped="no"/>
                        <child>
                          <object class="GtkBox" id="box1">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <child>
                              <object class="GtkImage" id="image1">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="stock">gtk-add</property>
                                <property name="icon_size">3</property>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                                <property name="position">0</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label1">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="label" translatable="yes">Register New Controller</property>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                                <property name="position">1</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="lblPlaceholder1">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="hexpand">True</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="btRemoveController">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="hexpand">False</property>
                        <property name="vexpand">False</property>
                        <signal name="clicked" handler="on_btRemoveController_clicked" swapped="no"/>
                        <child>
                          <object class="GtkImage" id="image2">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <property name="stock">gtk-remove</property>
                            <property name="icon_size">3</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">2</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">13</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="txEvdevMissing">
                    <property name="can-focus">False</property>
                    <property name="no-show-all">True</property>
                    <property name="label" translatable="yes">Note: python-evdev package is needed for non-steam controller support</property>
                    <attributes>
                      <attribute name="style" value="italic"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">7</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableDriver_remotepad">
                    <property name="name">remotepad</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbEnableDriver_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="lblKuaa1">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Remote RetroPad protocol support</property>
                        <property name="xalign">0</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">8</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblKuaa2">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">30</property>
                    <property name="label" translatable="yes">If enabled, any device or application compatibile with Retroarch's Remote RetroPad protocol
on network can connect and remote-control this computer as additional gamepad.
&lt;a href="https://github.com/kozec/sc-controller/wiki/Using-phone-with-Retroarch-as-additional-controller"&gt;See wiki for instructions and more info.&lt;/a&gt;</property>
                    <property name="use-markup">True</property>
                    <property name="xalign">0</property>
                    <property name="yalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">9</property>
                    <property name="width">3</property>
                  </packing>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
              </object>
              <packing>
                <property name="position">2</property>
              </packing>
            </child>
            <child type="tab">
              <object class="GtkLabel" id="label69">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Controllers</property>
              </object>
              <packing>
                <property name="position">2</property>
                <property name="tab-fill">False</property>
              </packing>
            </child>
            <child>
              <!-- n-columns=3 n-rows=5 -->
              <object class="GtkGrid" id="grid1">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="margin-left">10</property>
                <property name="margin-right">10</property>
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <property name="hexpand">True</property>
                <property name="vexpand">True</property>
                <child>
                  <object class="GtkCheckButton" id="cbShowOSD">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">10</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_cbShowOSD_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label42">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Show _OSD notification when profile is switched automatically</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblItems">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-top">10</property>
                    <property name="label" translatable="yes">Switching Rules</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkScrolledWindow" id="swItems">
                    <property name="name">sw</property>
                    <property name="height-request">200</property>
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="margin-left">10</property>
                    <property name="margin-top">5</property>
                    <property name="margin-bottom">5</property>
                    <property name="vexpand">True</property>
                    <property name="shadow-type">in</property>
                    <child>
                      <object class="GtkTreeView" id="tvItems">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="hexpand">True</property>
                        <property name="model">lstItems</property>
                        <property name="reorderable">True</property>
                        <property name="rubber-banding">True</property>
                        <signal name="cursor-changed" handler="on_tvItems_cursor_changed" swapped="no"/>
                        <signal name="row-activated" handler="btEdit_clicked_cb" swapped="no"/>
                        <child internal-child="selection">
                          <object class="GtkTreeSelection" id="nonimportatboxthatneedsidjustbecauseofubunt"/>
                        </child>
                        <child>
                          <object class="GtkTreeViewColumn" id="clWhen">
                            <property name="resizable">True</property>
                            <property name="title" translatable="yes">When window...</property>
                            <child>
                              <object class="GtkCellRendererText" id="crWhen"/>
                              <attributes>
                                <attribute name="text">1</attribute>
                              </attributes>
                            </child>
                          </object>
                        </child>
                        <child>
                          <object class="GtkTreeViewColumn" id="clThen">
                            <property name="resizable">True</property>
                            <property name="title" translatable="yes">... then</property>
                            <child>
                              <object class="GtkCellRendererText" id="crProfile"/>
                              <attributes>
                                <attribute name="text">2</attribute>
                              </attributes>
                            </child>
                          </object>
                        </child>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="lblItems1">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="label" translatable="yes">Automatic Profile Switching Options</property>
                    <property name="xalign">0</property>
                    <attributes>
                      <attribute name="weight" value="bold"/>
                    </attributes>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkBox" id="vbButtons">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">10</property>
                    <property name="hexpand">True</property>
                    <child>
                      <object class="GtkButton" id="btEdit">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="hexpand">False</property>
                        <property name="vexpand">False</property>
                        <signal name="clicked" handler="btEdit_clicked_cb" swapped="no"/>
                        <child>
                          <object class="GtkBox" id="box4">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <child>
                              <object class="GtkImage" id="image34">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="stock">gtk-edit</property>
                                <property name="icon_size">3</property>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                                <property name="position">0</property>
                              </packing>
                            </child>
                            <child>
                              <object class="GtkLabel" id="label90">
                                <property name="visible">True</property>
                                <property name="can-focus">False</property>
                                <property name="margin-left">5</property>
                                <property name="label" translatable="yes">Edit Condition</property>
                              </object>
                              <packing>
                                <property name="expand">False</property>
                                <property name="fill">True</property>
                                <property name="position">1</property>
                              </packing>
                            </child>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">0</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkLabel" id="lblPlaceholder">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="hexpand">True</property>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">1</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="btRemove">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="margin-left">10</property>
                        <property name="hexpand">False</property>
                        <property name="vexpand">False</property>
                        <signal name="clicked" handler="on_btRemove_clicked" swapped="no"/>
                        <child>
                          <object class="GtkImage" id="image35">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <property name="stock">gtk-remove</property>
                            <property name="icon_size">3</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">2</property>
                      </packing>
                    </child>
                    <child>
                      <object class="GtkButton" id="btAdd">
                        <property name="visible">True</property>
                        <property name="can-focus">True</property>
                        <property name="receives-default">True</property>
                        <property name="margin-left">10</property>
                        <property name="hexpand">False</property>
                        <property name="vexpand">False</property>
                        <signal name="clicked" handler="on_btAdd_clicked" swapped="no"/>
                        <child>
                          <object class="GtkImage" id="image39">
                            <property name="visible">True</property>
                            <property name="can-focus">False</property>
                            <property name="stock">gtk-add</property>
                            <property name="icon_size">3</property>
                          </object>
                        </child>
                      </object>
                      <packing>
                        <property name="expand">False</property>
                        <property name="fill">True</property>
                        <property name="position">3</property>
                      </packing>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
              </object>
              <packing>
                <property name="position">3</property>
              </packing>
            </child>
            <child type="tab">
              <object class="GtkLabel" id="label78">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Autoswitcher</property>
              </object>
              <packing>
                <property name="position">3</property>
                <property name="tab-expand">True</property>
                <property name="tab-fill">False</property>
              </packing>
            </child>
            <child>
              <!-- n-columns=3 n-rows=10 -->
              <object class="GtkGrid" id="grid12">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="margin-left">10</property>
                <property name="margin-right">10</property>
                <property name="margin-top">10</property>
                <property name="margin-bottom">10</property>
                <child>
                  <object class="GtkCheckButton" id="cbInputTestMode">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label27">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Input Test Mode</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">0</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label28">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">25</property>
                    <property name="margin-right">25</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Allows applications to &lt;b&gt;watch and possibly log&lt;/b&gt; gamepad inputs.

When enabled, main application window will display pressed buttons,
grips, triggers, finger positions on both pads and stick angle.</property>
                    <property name="use-markup">True</property>
                    <property name="wrap">True</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">1</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableSerials">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">15</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_restarting_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label32">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Use Serial Numbers to Identify Controllers</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">3</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbAutokillDaemon">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">15</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label30">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Automatically Disable Emulation When Closing GUI</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">8</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMinimizeToStatusIcon">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">30</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label31">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Minimize to status icon instead closing</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">6</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableStatusIcon">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">15</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label29">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Status (Systray) Icon</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">5</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkLabel" id="label33">
                    <property name="visible">True</property>
                    <property name="can-focus">False</property>
                    <property name="margin-left">25</property>
                    <property name="margin-right">25</property>
                    <property name="margin-top">5</property>
                    <property name="label" translatable="yes">Try disabling this option your controller stops working randomly.</property>
                    <property name="use-markup">True</property>
                    <property name="wrap">True</property>
                    <property name="xalign">0</property>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">4</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbEnableRumble">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">15</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_restarting_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label34">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Enable Rumble Support</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">2</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbNewRelease">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-top">15</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label40">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Display message about new version after SC-Controller upgrade</property>
                        <property name="use-underline">True</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                        <attributes>
                          <attribute name="weight" value="bold"/>
                        </attributes>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">9</property>
                  </packing>
                </child>
                <child>
                  <object class="GtkCheckButton" id="cbMinimizeOnStart">
                    <property name="visible">True</property>
                    <property name="can-focus">True</property>
                    <property name="receives-default">False</property>
                    <property name="margin-left">30</property>
                    <property name="margin-top">5</property>
                    <property name="draw-indicator">True</property>
                    <signal name="toggled" handler="on_random_checkbox_toggled" swapped="no"/>
                    <child>
                      <object class="GtkLabel" id="label15">
                        <property name="visible">True</property>
                        <property name="can-focus">False</property>
                        <property name="label" translatable="yes">Minimize to tray on start</property>
                        <property name="mnemonic-widget">cbShowOSD</property>
                      </object>
                    </child>
                  </object>
                  <packing>
                    <property name="left-attach">0</property>
                    <property name="top-attach">7</property>
                  </packing>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
                <child>
                  <placeholder/>
                </child>
              </object>
              <packing>
                <property name="position">4</property>
              </packing>
            </child>
            <child type="tab">
              <object class="GtkLabel" id="label79">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Advanced</property>
              </object>
              <packing>
                <property name="position">4</property>
                <property name="tab-expand">True</property>
                <property name="tab-fill">False</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="header">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="title">Settings</property>
        <property name="show-close-button">True</property>
      </object>
    </child>
  </object>
  <object class="GtkWindow" id="ConditionEditor">
    <property name="width-request">500</property>
    <property name="can-focus">False</property>
    <property name="role">condition editor</property>
    <property name="resizable">False</property>
    <property name="modal">True</property>
    <property name="window-position">center-on-parent</property>
    <property name="type-hint">dialog</property>
    <property name="skip-taskbar-hint">True</property>
    <property name="skip-pager-hint">True</property>
    <property name="transient-for">Dialog</property>
    <signal name="delete-event" handler="hide_dont_destroy" swapped="no"/>
    <signal name="key-press-event" handler="on_ConditionEditor_key_press_event" swapped="no"/>
    <child>
      <object class="GtkBox" id="vbox321">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="margin-left">20</property>
        <property name="margin-right">25</property>
        <property name="margin-top">5</property>
        <property name="margin-bottom">15</property>
        <property name="orientation">vertical</property>
        <child>
          <object class="GtkLabel" id="label3">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="margin-top">5</property>
            <property name="label" translatable="yes">Condition</property>
            <property name="xalign">0</property>
            <attributes>
              <attribute name="weight" value="bold"/>
            </attributes>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">0</property>
          </packing>
        </child>
        <child>
          <object class="GtkCheckButton" id="cbMatchTitle">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">False</property>
            <property name="margin-top">5</property>
            <property name="margin-bottom">5</property>
            <property name="xalign">0</property>
            <property name="draw-indicator">True</property>
            <child>
              <object class="GtkLabel" id="label74">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Match Window Title</property>
                <property name="xalign">0</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">1</property>
          </packing>
        </child>
        <child>
          <object class="GtkBox" id="vbBox1">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="margin-left">20</property>
            <property name="orientation">vertical</property>
            <child>
              <object class="GtkEntry" id="entTitle">
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <signal name="changed" handler="on_entTitle_changed" swapped="no"/>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">0</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="cbExactTitle">
                <property name="label" translatable="yes">Match exact title</property>
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="receives-default">False</property>
                <property name="xalign">0</property>
                <property name="draw-indicator">True</property>
                <signal name="toggled" handler="on_cbExactTitle_toggled" swapped="no"/>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">1</property>
              </packing>
            </child>
            <child>
              <object class="GtkCheckButton" id="cbRegExp">
                <property name="label" translatable="yes">Use regular expression</property>
                <property name="visible">True</property>
                <property name="can-focus">True</property>
                <property name="receives-default">False</property>
                <property name="xalign">0</property>
                <property name="draw-indicator">True</property>
                <signal name="toggled" handler="on_cbRegExp_toggled" swapped="no"/>
              </object>
              <packing>
                <property name="expand">False</property>
                <property name="fill">True</property>
                <property name="position">2</property>
              </packing>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">2</property>
          </packing>
        </child>
        <child>
          <object class="GtkCheckButton" id="cbMatchClass">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">False</property>
            <property name="margin-top">15</property>
            <property name="margin-bottom">5</property>
            <property name="xalign">0</property>
            <property name="draw-indicator">True</property>
            <child>
              <object class="GtkLabel" id="label35">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Match Window Class</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">3</property>
          </packing>
        </child>
        <child>
          <object class="GtkEntry" id="entClass">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="margin-left">20</property>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">4</property>
          </packing>
        </child>
        <child>
          <object class="GtkLabel" id="label36">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="margin-top">15</property>
            <property name="label" translatable="yes">Action</property>
            <property name="xalign">0</property>
            <attributes>
              <attribute name="weight" value="bold"/>
            </attributes>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">5</property>
          </packing>
        </child>
        <child>
          <object class="GtkRadioButton" id="rbProfile">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">False</property>
            <property name="margin-top">5</property>
            <property name="active">True</property>
            <property name="draw-indicator">True</property>
            <child>
              <object class="GtkLabel" id="label77">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Activate Profile</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">6</property>
          </packing>
        </child>
        <child>
          <object class="GtkComboBox" id="cbProfile">
            <property name="visible">True</property>
            <property name="can-focus">False</property>
            <property name="margin-left">25</property>
            <property name="margin-right">5</property>
            <property name="margin-top">5</property>
            <property name="model">lstProfile</property>
            <child>
              <object class="GtkCellRendererText" id="cellrenderertext1"/>
              <attributes>
                <attribute name="text">0</attribute>
              </attributes>
            </child>
            <child>
              <object class="GtkCellRendererText" id="cellrenderertext2">
                <property name="xalign">1</property>
                <property name="alignment">right</property>
                <property name="style">italic</property>
              </object>
              <attributes>
                <attribute name="text">2</attribute>
              </attributes>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">7</property>
          </packing>
        </child>
        <child>
          <object class="GtkRadioButton" id="rbTurnOff">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">False</property>
            <property name="margin-top">5</property>
            <property name="active">True</property>
            <property name="draw-indicator">True</property>
            <property name="group">rbProfile</property>
            <child>
              <object class="GtkLabel" id="label41">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Turn Off Controller</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">8</property>
          </packing>
        </child>
        <child>
          <object class="GtkRadioButton" id="rbRestart">
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">False</property>
            <property name="margin-top">5</property>
            <property name="active">True</property>
            <property name="draw-indicator">True</property>
            <property name="group">rbProfile</property>
            <child>
              <object class="GtkLabel" id="label43">
                <property name="visible">True</property>
                <property name="can-focus">False</property>
                <property name="label" translatable="yes">Restart Daemon</property>
                <attributes>
                  <attribute name="weight" value="bold"/>
                </attributes>
              </object>
            </child>
          </object>
          <packing>
            <property name="expand">False</property>
            <property name="fill">True</property>
            <property name="position">9</property>
          </packing>
        </child>
      </object>
    </child>
    <child type="titlebar">
      <object class="GtkHeaderBar" id="header2">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="title">Edit Condition</property>
        <property name="show-close-button">True</property>
        <child>
          <object class="GtkButton" id="btSave">
            <property name="label">gtk-save</property>
            <property name="visible">True</property>
            <property name="can-focus">True</property>
            <property name="receives-default">True</property>
            <property name="use-stock">True</property>
            <signal name="clicked" handler="on_btSave_clicked" swapped="no"/>
            <style>
              <class name="suggested-action"/>
            </style>
          </object>
        </child>
      </object>
    </child>
  </object>
</interface>
